<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class UserGroupTableSeeder extends Seeder
{

    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('user_groups')->insert(array(
            ['id' => 1, 'title' => '管理员组', 'description' => '所有权限均开放', 'abbreviation' => 'admin', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 2, 'title' => '医学组', 'description' => '', 'abbreviation' => 'medicine', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 3, 'title' => '生产组', 'description' => '', 'abbreviation' => 'production', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 4, 'title' => '研发组', 'description' => '', 'abbreviation' => 'development', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 5, 'title' => '医检所组', 'description' => '', 'abbreviation' => 'examine', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 6, 'title' => '生信组', 'description' => '', 'abbreviation' => 'bioinformation', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 7, 'title' => '基因合成组', 'description' => '', 'abbreviation' => 'gene', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 8, 'title' => 'CRO组', 'description' => '', 'abbreviation' => 'cro', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 9, 'title' => '合作客户组', 'description' => '', 'abbreviation' => 'cooperative', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 10, 'title' => '外勤组', 'description' => '', 'abbreviation' => 'outworker', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 11, 'title' => '信息组', 'description' => '', 'abbreviation' => 'information', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 12, 'title' => '销售组', 'description' => '', 'abbreviation' => 'sales', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 13, 'title' => 'CRC组', 'description' => '', 'abbreviation' => 'crc', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 14, 'title' => '实验室组', 'description' => '', 'abbreviation' => 'lab', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
        ));
    }

}
